#include "stdafx.h"
#include "TestXTaskDialog.h"
#include "TestDialogDlg.h"
#include "resource.h"


#ifdef _DEBUG
#define new DEBUG_NEW
#endif //#ifdef _DEBUG

//The one and only CTestXTaskDialogApp object
CTestXTaskDialogApp theApp;


BEGIN_MESSAGE_MAP(CTestXTaskDialogApp, CWinApp)
END_MESSAGE_MAP()


CTestXTaskDialogApp::CTestXTaskDialogApp()
{
}

BOOL CTestXTaskDialogApp::InitInstance()
{
  //InitCommonControlsEx() is required on Windows XP if an application
  //manifest specifies use of ComCtl32.dll version 6 or later to enable
  //visual styles.  Otherwise, any window creation will fail.
  INITCOMMONCONTROLSEX InitCtrls;
  InitCtrls.dwSize = sizeof(InitCtrls);
  
  //Set this to include all the common control classes you want to use
  //in your application.
  InitCtrls.dwICC = ICC_WIN95_CLASSES;
  InitCommonControlsEx(&InitCtrls);

  //Let the base class do its thing
  CWinApp::InitInstance();

  CTestDialogDlg dlg;
  m_pMainWnd = &dlg;
  dlg.DoModal();
  
  return FALSE;
}
